package cn.buyclss.backend.mapper.shop;

import cn.buyclss.backend.entity.domain.shop.Cart;
import cn.buyclss.backend.entity.domain.shop.CartExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CartMapper {
    /**
     *
     * @mbg.generated 2019-03-11
     */
    long countByExample(CartExample example);

    /**
     *
     * @mbg.generated 2019-03-11
     */
    int deleteByExample(CartExample example);

    /**
     *
     * @mbg.generated 2019-03-11
     */
    int deleteByPrimaryKey(Integer id);

    /**
     *
     * @mbg.generated 2019-03-11
     */
    int insert(Cart record);

    /**
     *
     * @mbg.generated 2019-03-11
     */
    int insertSelective(Cart record);

    /**
     *
     * @mbg.generated 2019-03-11
     */
    List<Cart> selectByExample(CartExample example);

    /**
     *
     * @mbg.generated 2019-03-11
     */
    Cart selectByPrimaryKey(Integer id);

    /**
     *
     * @mbg.generated 2019-03-11
     */
    int updateByExampleSelective(@Param("record") Cart record, @Param("example") CartExample example);

    /**
     *
     * @mbg.generated 2019-03-11
     */
    int updateByExample(@Param("record") Cart record, @Param("example") CartExample example);

    /**
     *
     * @mbg.generated 2019-03-11
     */
    int updateByPrimaryKeySelective(Cart record);

    /**
     *
     * @mbg.generated 2019-03-11
     */
    int updateByPrimaryKey(Cart record);
}